<ul class="nav nav-tabs">
    <li role="presentation" class="active"><a href="{:url('index/lst')}">列表</a></li>
    <li role="presentation"><a href="{:url('index/add')}">新增</a></li>
</ul>

<table class="table table-striped table-hover">
    <thead>
        <tr>
            <th>#</th>
            <th>标题</th>
            <th>时间</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        {foreach $bloglist as $key=>$vo}
        <tr>
            <td>{$vo.id}</td>
            <td><a href="{:url('index/show',"id=".$vo['id'])}">{$vo.title}</a></td>
            <td>{:date('Y-m-d H:i:s',$vo.save_time)}</td>
            <td><a href="{:url('index/edit',"id=".$vo['id'])}">编辑</a> | <a href="{:url('index/del',"id=".$vo['id'])}" onclick="return confirm('你确定要删除这条数据么？')">删除</a></td>
        </tr>
        {/foreach}
    </tbody>
</table>

<script>
    
</script>
